<!DOCTYPE html>
<html>
<head>
<title>{$site_name}</title>
<meta name="keywords" content="{$site_seo_keywords}" />
<meta name="description" content="{$site_seo_description}">
<meta name="author" content="ThinkCMF">
<tc_include file="Public:head" />
</head>

<body class="body-white" id="top">
	<tc_include file="Public:nav" />

		<div class="container tc-main">
                <div class="row">
                    <div class="span3">
	                    <tc_include file="Public:usernav"/>
                    </div>
                    <div class="span9">
                           <div class="tabs">
                               <ul class="nav nav-tabs">
                                   <li class="active"><a href="#one" data-toggle="tab"><i class="fa fa-comments-o"></i>账户日志</a></li>
                               </ul>
                               <div class="tab-content">
                                   <div class="tab-pane active" id="one">
                                   		
                                   		<table class="table table-bordered table-striped table-hover">
									    <thead>
									      <tr>
									      	<th colspan="3"> 备注：{$ralProportion}积分等于1元</th>
									      </tr>
									      <tr>
									       
									        <th>积分</th>
									        <th width="150">可用积分</th>
									        <th width="150">冻结积分</th>
									      </tr>
									    </thead>
									    <tbody>
									  
									      <tr>
									        <td>{$total_money }</td>
									        <td>{$available_funds}</td>
									        <td>{$freeze_funds}</td>
									        
									      </tr>
									   
									    </tbody>
									  </table>
                                   		
                                   	
                                   
                                   
                                   		<table class="table table-bordered table-striped table-hover">
									    <thead>
									      <tr>
									        <th>#</th>
									        <th>类型</th>
									        <th width="150">积分</th>
									        <th width="150">操作时间</th>
									      </tr>
									    </thead>
									    <tbody>
									    <foreach name="money_log" item="vo">
									      <tr>
									        <td>{$vo.id}</td>
									        <td><if condition="$vo.type eq 1">充值<elseif condition="$vo.type eq 2"/>冻结
			<elseif condition="$vo.type eq 3"/>支付<elseif condition="$vo.type eq 4"/>提现
			<elseif condition="$vo.type eq 5"/>创收<elseif condition="$vo.type eq 6"/>系统放款
			<elseif condition="$vo.type eq 7"/>手续费<else/>恢复冻结资金</if></td>
									        <td>{$vo.operation}</td>
									        <td>
									        	{:date("Y-m-d H:i:s",$vo['time'])}
									        </td>
									      </tr>
									    </foreach>
									    </tbody>
									  </table>
                                   </div>
                                   
                                   <div class="pager">{$pager}</div>
                               </div>							
                           </div>
                    </div>
                </div>

		<tc_include file="Public:footer" />

	</div>
	<!-- /container -->

	<tc_include file="Public:scripts" />
</body>
</html>